liststore: Replace macro with an inline function
authorBenjamin Otte <otte@redhat.com>
Fri, 27 May 2011 02:29:56 +0000 (04:29 +0200)
committerBenjamin Otte <otte@redhat.com>
Fri, 27 May 2011 14:11:10 +0000 (16:11 +0200)
commit3500063bc1e26626c44368555c6c36bab7299847
tree3f102b9c7a6cab936787d99d44f45a96e1eb832b
parent0b653abcd4a7989b22fe1c0520d46e3fff2ab5a0
liststore: Replace macro with an inline function

Also remove a duplicate check in gtk_list_store_iter_is_valid().

gcc was complaining about "comparison always true" when using the macro.
gtk/gtkliststore.c